// This setup uses Hardhat Ignition to manage smart contract deployments.
// Learn more about it at https://hardhat.org/ignition
import { ethers } from "hardhat";

const { buildModule } = require("@nomicfoundation/hardhat-ignition/modules");

const FEE = ethers.parseUnits("0.001", 18);

module.exports = buildModule("MarketModules", (m) => {
  const fee = m.getParameter("fee", FEE);
  const lock = m.contract("market", [fee], {
    value: fee,
  });

  return { market };
});
